/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@page {
  margin: 0;
  padding: 0;
}
@media print {
  @page {
    padding: 0;
    margin: 0;
    size: auto;
  }
}
html,
body,
#app {
  height: 100%;
  background: #f0f2f5;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 4px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(136, 150, 154, 0.4);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 150, 154, 0.6);
}
.print-paper {
  margin: 0 auto;
  line-height: 1.07145;
  color: #000 !important;
  font-size: 14pt;
  page-break-after: auto !important;
  -webkit-column-break-after: auto !important;
  -moz-column-break-after: auto !important;
  break-after: auto !important;
  font-family: Arial, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  -ms-overflow-style: none;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow: hidden;
}
img {
  image-resolution: 300dpi;
  max-width: unset;
}
img:not([src]),
img[src=''] {
  opacity: 0;
}
.print-paper .print-paper__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.print-paper .vdr-container {
  position: absolute;
}

.print-paper .print-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-width: 1px;
  border-color: #c9c9c9;
  border-top-style: dashed;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
}
.print-paper table {
  border: 1px solid #000;
  border-spacing: 0;
  border-collapse: collapse;
  empty-cells: show;
}
.print-paper table td {
  padding: 1px;
  /* white-space: pre-wrap; */
  word-break: break-all;
  text-align: left;
  vertical-align: middle;
  line-height: 1;
  height: 18px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  text-align: center;
}
.print-paper table td div {
  word-break: break-all;
}
.print-paper table tr {
  line-height: 1;
}
.print-paper table tr td:first-of-type {
  border-left: none;
}
.print-paper table tr.border-left td:first-of-type {
  border-left: 1px solid #000;
}

.print-paper table .row-total td {
  border-bottom: none;
}
.no-border,
.no-border table,
.no-border td,
.no-border th {
  border-color: transparent !important;
}
.print-paper table .row-total td[data-label='合计'],
.print-paper table .row-subtotal td[data-label='本页小计'] {
  text-align: left;
}

.print-paper .print-element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  word-break: break-all;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  overflow: visible;
}

.print-paper .print-element[data-type='text'] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  white-space: pre-wrap;
  word-break: break-all;
}

.print-paper .print-element[data-type='text'] .inline-flex,
.print-paper .print-element[data-type='table'] .inline-flex {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.print-paper .print-element[data-type='text'] .inline-flex > label,
.print-paper .print-element[data-type='table'] .inline-flex > label {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  white-space: pre-wrap;
}

.print-paper .print-element[data-type='text'] .inline-flex > span,
.print-paper .print-element[data-type='table'] .inline-flex > span {
  word-break: break-word;
}
